package top.tangyh.lamp.care.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import top.tangyh.basic.interfaces.echo.EchoService;
import top.tangyh.basic.base.controller.SuperController;
import top.tangyh.lamp.care.service.BDevBedRelationService;
import top.tangyh.lamp.care.entity.BDevBedRelation;
import top.tangyh.lamp.care.vo.save.BDevBedRelationSaveVO;
import top.tangyh.lamp.care.vo.update.BDevBedRelationUpdateVO;
import top.tangyh.lamp.care.vo.result.BDevBedRelationResultVO;
import top.tangyh.lamp.care.vo.query.BDevBedRelationPageQuery;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * 床号设备绑定关系表
 * </p>
 *
 * @author zqb
 * @date 2024-08-23 15:19:59
 * @create [2024-08-23 15:19:59] [zqb] [代码生成器生成]
 */
@Slf4j
@RequiredArgsConstructor
@Validated
@RestController
@RequestMapping("/bDevBedRelation")
@Tag(name = "床号设备绑定关系")
public class BDevBedRelationController extends SuperController<BDevBedRelationService, Integer, BDevBedRelation
    , BDevBedRelationSaveVO, BDevBedRelationUpdateVO, BDevBedRelationPageQuery, BDevBedRelationResultVO> {
    private final EchoService echoService;
    @Override
    public EchoService getEchoService() {
        return echoService;
    }

}


